package com.yuexun.beilunpatient.ui.contractmanage.adapter;

import android.widget.AbsListView;

import com.yuexun.beilunpatient.R;
import com.yuexun.beilunpatient.ui.contractmanage.bean.TestBean;

import org.kymjs.kjframe.widget.AdapterHolder;
import org.kymjs.kjframe.widget.KJAdapter;

import java.util.Collection;

/**
 * Created by work-jx on 2016/4/13.
 */
public class RecordOutpatientTestAdapter extends KJAdapter<TestBean.RowsBean> {

    public RecordOutpatientTestAdapter(AbsListView view, Collection<TestBean.RowsBean> mDatas, int itemLayoutId) {
        super(view, mDatas, itemLayoutId);
    }

    @Override
    public void convert(AdapterHolder adapterHolder, TestBean.RowsBean rowsBean, boolean b) {
        adapterHolder.setText(R.id.recordhospital_item_name,rowsBean.getItem_name());
    }

}
